package rpt.yto.flex.remote.data.dao;

import java.util.List;
import java.util.Map;

import rpt.yto.flex.remote.data.bean.RPTNodeBean;

public interface INodeDAO {

	public List<RPTNodeBean> queryNodeById(String id) throws Exception;

	public String modifyNode(Map<String, String> param) throws Exception;

	public void addNode(Map<String, String> param) throws Exception;

	public Object queryMaxNodePk() throws Exception;

	public String deleteNode(String pk_nodes) throws Exception;

	public Integer queryNodeByNodeId(Map<String, String> param)
			throws Exception;

	public boolean nextNodeExsits(String pk_nodes) throws Exception;

	public Integer exsitsTemplate(String nodeid) throws Exception;
	
	public String queryTemplateId(String nodeid) throws Exception ;
	
	public String deleteTemplate(Map<String , String> param) throws Exception; 
	
}
